Skip to content

feat: Update jsoo build process for libbinaryen#8565

Merged
kripken merged 1 commit intoWebAssembly:mainfrom
spotandjake:spotandjake/jsoo-update
Apr 1, 2026
Merged

feat: Update jsoo build process for libbinaryen#8565
kripken merged 1 commit intoWebAssembly:mainfrom
spotandjake:spotandjake/jsoo-update

Conversation

@spotandjake
Copy link
Copy Markdown
Contributor

When #7995 was merged it broke our upgrade process in libbinaryen.

This pr fixes our build process.

JS_OF_OCAML still doesn't support esm modules however it supports es6 features, so we can safely remove target_link_libraries(binaryen_js PRIVATE optimized "--closure-args=\"--language_out=ECMASCRIPT5\"").

Because we are not using esm modules and jsoo doesn't support top level awaits we need to dissable async compilation.

When WebAssembly#7995 was merged it broke our upgrade process in libbinaryen.

This pr fixes our build process.

 JS_OF_OCAML still doesn't support esm modules however it supports es6 features, so we can safely remove `target_link_libraries(binaryen_js PRIVATE optimized "--closure-args=\"--language_out=ECMASCRIPT5\"")`.

Because we are not using esm modules and jsoo doesn't support top level awaits we need to dissable async compilation.
@spotandjake spotandjake requested a review from a team as a code owner April 1, 2026 20:41
@spotandjake spotandjake requested review from kripken and removed request for a team April 1, 2026 20:41
@kripken kripken merged commit c32215e into WebAssembly:main Apr 1, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants